#ifndef ADMINISTRATOR_INFO_ADD_H
#define ADMINISTRATOR_INFO_ADD_H

#include <QDialog>
#include <QMessageBox>
#include <QSqlQuery>
#include <QSqlTableModel>
#include "dboperation.h"

namespace Ui {
class administrator_info_add;
}

class administrator_info_add : public QDialog
{
    Q_OBJECT

public:
    explicit administrator_info_add(QSqlTableModel *M, QWidget *parent = nullptr);
    ~administrator_info_add();

private slots:
    void on_savePushButton_clicked();

    void on_cancelPushButton_clicked();

private:
    Ui::administrator_info_add *ui;
    DBOperation *db;
    QSqlTableModel *M;
};

#endif // ADMINISTRATOR_INFO_ADD_H
